import json


def p_float(data):
    if not data:
        return 0
    if type(data) is not float:
        if data == '-':
            return 0
        return float(data)
    return data


def p_dict(data):
    if type(data) is str:
        return json.loads(data.replace('\'', '\\"'))
    return data


if __name__ == '__main__':
    print()
